package com.cosmoplat.xikai.business.domain.dto.productPlan;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.Date;

@ApiModel(value = "BaseDeliveryInfo数据")
@Data
public class BaseDeliveryInfoDTO {
    private String id;
    /**
     * 备料号
     */
    @ApiModelProperty(value = "备料号", example = "TASKNO001")
    @NotBlank(message = "备料号不能为空")
    private String preparationNo;
    /**
     * 物料ID
     */
    @ApiModelProperty(value = "物料ID", example = "TASKNO001")
    @NotBlank(message = "物料ID不能为空")
    private String materialId;
    /**
     * 物料编号
     */
    @ApiModelProperty(value = "物料编号", example = "TASKNO001")
    @NotBlank(message = "物料编号不能为空")
    private String materialCode;
    /**
     * 物料名称
     */
    @ApiModelProperty(value = "物料名称", example = "TASKNO001")
    @NotBlank(message = "物料名称不能为空")
    private String materialName;
    /**
     * 物料规格
     */
    @ApiModelProperty(value = "物料规格", example = "TASKNO001")
    @NotBlank(message = "物料规格不能为空")
    private String materialSpec;
    /**
     * 物料型号
     */
    @ApiModelProperty(value = "物料型号", example = "TASKNO001")
    @NotBlank(message = "物料型号不能为空")
    private String materialModel;
    /**
     * 物料描述
     */
    @ApiModelProperty(value = "物料描述", example = "TASKNO001")
    @NotBlank(message = "物料描述不能为空")
    private String materialDesc;
    /**
     * 工序id
     */
    @ApiModelProperty(value = "工序id", example = "TASKNO001")
    @NotBlank(message = "工序ID不能为空")
    private String processId;
    /**
     * 工序编号
     */
    @ApiModelProperty(value = "工序编号", example = "TASKNO001")
    @NotBlank(message = "工序编号不能为空")
    private String processCode;
    /**
     * 工序名称
     */
    @ApiModelProperty(value = "工序名称", example = "TASKNO001")
    @NotBlank(message = "工序名称不能为空")
    private String processName;
    /**
     * 工作中心id
     */
    @ApiModelProperty(value = "工作中心id", example = "TASKNO001")
    @NotBlank(message = "工作中心id不能为空")
    private String workCenterId;
    /**
     * 工作中心编号
     */
    @ApiModelProperty(value = "工作中心编号", example = "TASKNO001")
    @NotBlank(message = "工作中心编号不能为空")
    private String workCenterCode;
    /**
     * 工作中心名称
     */
    @ApiModelProperty(value = "工作中心名称", example = "TASKNO001")
    @NotBlank(message = "工作中心名称不能为空")
    private String workCenterName;
    /**
     * 所需数量
     */
    @ApiModelProperty(value = "所需数量", example = "TASKNO001")
    @NotBlank(message = "所需数量不能为空")
    private String requiredQty;
    /**
     *  计划时间
     */
    @ApiModelProperty(value = "计划时间", example = "TASKNO001")
    @NotBlank(message = "计划时间不能为空")
    private Date planTime;
    /**
     *  批次号
     */
    @ApiModelProperty(value = "批次号", example = "TASKNO001")
    private String batchNo;
    /**
     *  序列号
     */
    @ApiModelProperty(value = "序列号", example = "TASKNO001")
    private String serialNo;
    /**
     *  配送位置ID
     */
    @ApiModelProperty(value = "配送位置ID", example = "TASKNO001")
    private String deliveryPosId;
    /**
     *  配送位置编号
     */
    @ApiModelProperty(value = "配送位置编号", example = "TASKNO001")
    private String deliveryPosCode;
    /**
     *  配送位置名称
     */
    @ApiModelProperty(value = "配送位置名称", example = "TASKNO001")
    private String deliveryPosName;

}
